package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡监测传感器列表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_sensor_list")
@ApiModel(value="SlopeSensorList对象", description="边坡监测传感器列表")
public class SlopeSensorList implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID（逻辑自增主键）")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "监测点ID")
    @TableField("monitor_id")
    private String monitorId;

    @ApiModelProperty(value = "传感器编码")
    @TableField("sensor_code")
    private String sensorCode;

    @ApiModelProperty(value = "传感器品牌")
    @TableField("sensor_brand")
    private String sensorBrand;

    @ApiModelProperty(value = "传感器型号")
    @TableField("sensor_model")
    private String sensorModel;

    @ApiModelProperty(value = "传感器类型")
    @TableField("sensor_type")
    private String sensorType;

    @ApiModelProperty(value = "信号类别")
    @TableField("signal_type")
    private String signalType;

    @ApiModelProperty(value = "监测类型编码")
    @TableField("monitor_type")
    private String monitorType;

    @ApiModelProperty(value = "分辨力")
    @TableField("resolution")
    private Double resolution;

    @ApiModelProperty(value = "精度")
    @TableField("accuracy")
    private Double accuracy;

    @ApiModelProperty(value = "采样频率")
    @TableField("sampling_frequency")
    private Double samplingFrequency;

    @ApiModelProperty(value = "安装日期")
    @TableField("installation_date")
    private LocalDateTime installationDate;

    @ApiModelProperty(value = "安装位置")
    @TableField("installation_location")
    private String installationLocation;

    @ApiModelProperty(value = "当前状态")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "设备SN")
    @TableField("device_sn")
    private String deviceSn;

    @ApiModelProperty(value = "数据状态（在线，离线）")
    @TableField("data_status")
    private String dataStatus;

    @ApiModelProperty(value = "数据时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "管养单位")
    @TableField("dept_id")
    private Integer deptId;


}
